package tech.wangpai.service;

import tech.wangpai.domain.User;

import java.util.List;

public interface UserService {
    List<User> queryUser(String username);
    User getUserById(String userId);
    void addUser(User user);
    void delUserById(String userId);
    void updateUserById(String userId, User user);
    void updateUserAgeById(String userId, Integer age);
}
